﻿@using MiniWeb.Core.Dtos
@using MiniWeb.Core.Entities
@using WFramework.Common
@using WFramework.MvcPager
@{
    Layout = "~/Views/Shared/_BaseLayout.cshtml";

    ViewBag.Title = "商城资讯,";
    var typelist = ViewData["typelist"] as List<NewsType>;

}
@model PagedList<NewsDto>
<div class="sub-box"><div class="area">
    <div class="sub-current"><a href="/index.aspx">西藏特产</a>&nbsp;&gt;&nbsp;<a href="/news/0.aspx">商城资讯</a>&nbsp;&gt;&nbsp;西藏特产</div>
    <div class="sub-cart clear">
    	<div class="left me-cart">
       <div class="leftnav">
                <div class="menu_head hover"><div class="ico">商城资讯</div></div>
                <ul class="menu_body" style="display:block;"> 
                    @foreach (var item in typelist)
                    {
                          <li><a class="n" href="/newscenter/list?cid=@item.ID">@item.TypeName</a></li>
                    }

                    
                </ul>
            </div>


        </div><!--me-cart-->
        <div class="right m-about-box">
        	<div class="status-tit">
            	<h2>西藏特产</h2>
                <span></span>
            </div><!--status-tit-->
            <div class="sub-about">
                <ul class="sub-news-imgtext j-li-hover mgbt-20">
                     <!--取得一个DataTable-->
                     <!--取得分页页码列表-->
                    
                    @foreach (var item in Model)
                    {
                        <li class="">
                            <h4><a href="/newscenter/show?id=@item.ID">@item.Title</a></h4>
                            <p>@item.ShortDes<a href="/newscenter/show?id=@item.ID">[查看详细]</a></p>
                        </li>
                    }
                    

                    
                </ul><!--sub-news-imgtext-->
                <div class="m-page m-page-rt">
                      @Html.Pager(Model)
                </div><!--5-->
            </div><!--sub-about-->
        </div><!--m-status-->
    </div><!--sub-cart-->

@Html.Action("SeeHistoryAndLove", "MainLayout")
</div></div>